package com.sprouting.ops.dao;


import com.sprouting.ops.interfaces.BaseDaoMapper;
import com.sprouting.ops.model.OpsRoleAuthority;

import java.util.List;

/**
 * (RolePower)表数据库访问层
 *
 * @author longx
 * @since 2023-03-19 22:44:35
 */
public interface OpsRoleAuthorityDao extends BaseDaoMapper<OpsRoleAuthority> {


    /**
     * 获取指定角色的所有的权限ID
     * @param roleId  角色ID
     * @return
     */
    List<String> getAuthByRoleId(String roleId);
}

